package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ShiftrangelistDao;
import io.renren.entity.Shiftrangelist;
import io.renren.service.ShiftrangelistService;



@Service("shiftrangelistService")
public class ShiftrangelistServiceImpl implements ShiftrangelistService {
	@Autowired
	private ShiftrangelistDao shiftrangelistDao;
	
	@Override
	public Shiftrangelist queryObject(Integer id){
		return shiftrangelistDao.queryObject(id);
	}
	
	@Override
	public List<Shiftrangelist> queryList(Map<String, Object> map){
		return shiftrangelistDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return shiftrangelistDao.queryTotal(map);
	}
	
	@Override
	public void save(Shiftrangelist shiftrangelist){
		shiftrangelistDao.save(shiftrangelist);
	}
	
	@Override
	public void update(Shiftrangelist shiftrangelist){
		shiftrangelistDao.update(shiftrangelist);
	}
	
	@Override
	public void delete(Integer id){
		shiftrangelistDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		shiftrangelistDao.deleteBatch(ids);
	}
	
}
